﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Web;

namespace Yala.Client.Web.MVC
{
    public class CustomPrincipal : IPrincipal
    {
        public bool IsInRole(string role)
        {
            return false;
        }

        public string RoleName { get; private set; }

        public IIdentity Identity { get; private set; }

        public Guid UserID { get; private set; }

        public CustomPrincipal(GenericIdentity identity, Guid userID)
        {
            RoleName = string.Empty;
            Identity = identity;
            UserID = userID;
        }
    }
}